package com.morningstar.flow.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.morningstar.flow.dao.entity.FlowNodeInstance;
import org.apache.ibatis.annotations.Param;

public interface FlowNodeInstanceMapper extends BaseMapper<FlowNodeInstance> {

    void addAgree(@Param("executionId") String executionId,
                  @Param("processInstanceId") String processInstanceId,
                  @Param("nodeActivityId") String nodeActivityId);

    void addRefuse(@Param("executionId") String executionId,
                   @Param("processInstanceId") String processInstanceId,
                   @Param("nodeActivityId") String nodeActivityId);
}
